{extend name="index:layout" /}

{block name="menu"}{/block}

{block name="content"}
<div class='ListLinkCont'>
  <a href="index.php?lfj=$lfj&job=list">插件管理</a>
  <a href="index.php?lfj=$lfj&job=add">手工添加新插件</a>
  <a href="index.php?lfj=$lfj&job=autoadd">自动安装新插件</a>
</div>

<form name="form1" method="post" action="index.php?lfj=$lfj&action=$job">

<div class="MainContainers">
  <div class="Header"><span class="tag">插件管理</span><span class="more">&gt;&gt;</span></div>
  <div class="Conter">
    <table class="ListTable">
      <th width="15%">插件名称</th>
      <th width="12%">插件关键字</th>
      <th width="17%">顶级分类</th>
      <th width="16%">父级分类</th>
      <th width="13%">排序值</th>
      <th width="11%">管理</th>
      <th width="8%">卸载</th>
      <th width="8%"> 更改</th>
    </tr>
{php}
foreach($listdb AS $key=>$rs){
{/php}
    <tr bgcolor="#FFFFFF" class="trA" onmouseover="this.className='trB'" onmouseout="this.className='trA'"> 
      <td class='Left'>$rs[name]</td>
      <td class='Left'>$rs[keywords]</td>
      <td class='Left'><a href="index.php?lfj=hack&job=list&class1=$rs[class1]">{$base_menuName[$rs[class1]]}</a></td>
      <td class='Left'><a href="index.php?lfj=hack&job=list&class2=$rs[class2]">$rs[class2]</a></td>
      <td> 
        <input type="text" name="orderdb[{$rs[keywords]}]" size="5" value="$rs[list]">
      </td>
      <td><a href="$rs[adminurl]" title="管理设置"><img src="../member/images/icon_manage2.gif" border="0"></a></td>
      <td><a href="index.php?lfj=$lfj&action=delete&keywords=$rs[keywords]"  onclick="return confirm('卸载后不可恢复,你确实要卸载吗?')" title="卸载此插件" class='del'></a> </td>
      <td><a href="index.php?lfj=$lfj&job=edit&keywords=$rs[keywords]" title="更改配置" class='edit'></a></td>
    </tr>
{php}
}
{/php}
  
  </table>
    <div class='submits'><input type="submit" name="Submit" value="更改排序"></div>
  </div>
</div>
</form>
<div class="MainContainers">
  <div class="Header"><span class="tag">说明</span></div>
  <div class="Conter">
    <ul class="notes">
      <li>1.如果误删除的话,你只能在本机新安装一份,然后进入新站的后台对比看看需要哪项插件就手工添加,并且补充对应的文件</li>
    </ul>
  </div>
</div>
<br />
{/block}
